package cn.yunhe.dao;

import cn.yunhe.entity.Question;
import cn.yunhe.entity.Result;

import java.util.List;
import java.util.Map;

public interface IResultDao {

    /**
     * 插入答案
     * @param map
     * @return
     */
    boolean InsertResult(Map<String,Object> map);

    /**
     * 通过问题查询答案
     * @param question
     * @return
     */
    List<Result> SelectResult(Question question);
}
